package org.vacoor.nothing.misc.express.usps.api.rate.v4;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;

/**
 * Package 内容
 * 当 Package revision = 2 时 使用
 *
 * @author vacoor
 */
@XmlAccessorType(XmlAccessType.FIELD)
public class Content {
    public enum Type {
        HAZMAT, CREMATEDREMAINS, LIVES
    }

    public enum Description {
        BEES, DAYOLDPOULTRY, ADULTBIRDS, OTHER
    }

    @XmlElement(name = "ContentType")
    private Type contentType;
    @XmlElement(name = "ContentDescription")
    private Description contentDescription;

    public Type getContentType() {
        return contentType;
    }

    public void setContentType(Type contentType) {
        this.contentType = contentType;
    }

    public Description getContentDescription() {
        return contentDescription;
    }

    public void setContentDescription(Description contentDescription) {
        this.contentDescription = contentDescription;
    }
}
